package com.lyh.system.service;

import com.lyh.system.domain.OperationInfo;
import com.lyh.system.domain.req.OPerPageReq;

import java.util.List;

/**
 * 收支明细Service接口
 * 
 * @author ruoyi
 * @date 2023-05-11
 */
public interface IOperationInfoService 
{
    /**
     * 查询收支明细
     * 
     * @param id 收支明细主键
     * @return 收支明细
     */
    public OperationInfo selectOperationInfoById(Long id);

    /**
     * 查询收支明细列表
     * 
     * @param operationInfo 收支明细
     * @return 收支明细集合
     */
    public List<OperationInfo> selectOperationInfoList(OperationInfo operationInfo);

    List<OperationInfo> operationInfoPage(OPerPageReq req);

    /**
     * 新增收支明细
     * 
     * @param operationInfo 收支明细
     * @return 结果
     */
    public int insertOperationInfo(OperationInfo operationInfo);

    /**
     * 修改收支明细
     * 
     * @param operationInfo 收支明细
     * @return 结果
     */
    public int updateOperationInfo(OperationInfo operationInfo);

    /**
     * 批量删除收支明细
     * 
     * @param ids 需要删除的收支明细主键集合
     * @return 结果
     */
    public int deleteOperationInfoByIds(Long[] ids);

    /**
     * 删除收支明细信息
     * 
     * @param id 收支明细主键
     * @return 结果
     */
    public int deleteOperationInfoById(Long id);
}
